package li.config;

import li.dao.Hello;
import li.dao.People;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Config {
    @Bean
    public Hello getHello(){
        return new Hello();
    }
    @Bean
    public People getPeople(){
        return new People();
    }
}
